package com.topone.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.context.annotation.PropertySources;
import org.springframework.stereotype.Component;

/**
 * Created by Administrator on 2018/2/25,0025.
 */
@Data
@Component
@PropertySources({
        @PropertySource("classpath:persistence.properties")
})
public class WechatAccessConfig {

    @Value("${userUrl}")
    private String url;
    @Value("${baseUrl}")
    private String baseUrl;
}
